package com.sb.manage.impl;

import com.sb.dao.SBPageInfoMapper;
import com.sb.entity.SBPageInfo;
import com.sb.manage.SBPageInfoManage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by wujunzhou on 2017/10/24.
 */
@Service
public class SBPageInfoManageImpl implements SBPageInfoManage {
    @Autowired
    private SBPageInfoMapper sBPageInfoMapper;
    @Override
    public SBPageInfo getSBPageInfoByKey(String sbType) {
        return sBPageInfoMapper.getSBPageInfoByType(sbType);
    }

    @Override
    public List<SBPageInfo> getSBPageInfoList() {
        return sBPageInfoMapper.getSBPageInfoList();
    }
}
